import { IMessageBase } from "../../Framework/MQ/IMessageBase";
import { MessageManager } from "../../Framework/MQ/MessageManager";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
type int = number;
//class SDrawPlateActiveInfo
    
    export  class SDrawPlateActiveInfo extends IMessageBase
    {
        constructor(arg1: Boolean=false)
        {
            
            super();if (arg1) 
            {
                MessageManager.instance().regist(this);
            }
            return;
        }

        public /* override */ getType(): int
        {
            return this._type;
        }

        public /* override */ clone(): IMessageBase
        {
            return new SDrawPlateActiveInfo();
        }

        public /* override */ __write(arg1: SerializeStream): void
        {
            arg1.writeBool(this.isOpen);
            arg1.writeInt(this.activeId);
            arg1.writeInt(this.content);
            return;
        }

        public /* override */ __read(arg1: SerializeStream): void
        {
            this.isOpen = arg1.readBool();
            this.activeId = arg1.readInt();
            this.content = arg1.readInt();
            return;
        }

        public /* const */_type: int=12389;

        public /* var */isOpen: Boolean;

        public /* var */activeId: int;

        public /* var */content: int;

        public static /* var */_regist: SDrawPlateActiveInfo;
    }

            SDrawPlateActiveInfo._regist = new SDrawPlateActiveInfo(true);
        